package com.nulp.psycho.db.service;

import com.nulp.psycho.db.dao.impl.QuestionAnswerDao;

public class QuestionAnswerService {

	public <T> void create(T element) {
		new QuestionAnswerDao().create(element);
	}


	public <T> T read(Integer id) {
		return new QuestionAnswerDao().read(id);
	}


	public void delete(Integer id) {
		new QuestionAnswerDao().delete(id);
	}


	public <T> void update(T element) {
		new QuestionAnswerDao().update(element);
	}
	
}
